#include "headfiles.h"

using namespace std;

int main(int argc, char **argv) {
    if (argc != 2) {
        cout << "Usage: " << argv[0] << " n" << endl;
        return 0;
    }

    string str(argv[1]);
    int board_size = atoi(str.c_str());

    int i;
    for (i = 1; i <= board_size; i++) {
        int n = queenCount(i);
        cout << "size = " << i << ", count = " << n << endl;
    }

    return 0;
}

